determine the general solution to a differential equation